package com.yiren.manager.form.lease;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.elder.YrElderBeHospitalForm;
import com.yiren.manager.form.elder.YrElderForm;
import com.yiren.manager.form.elder.YrElderWalletForm;
import com.yiren.manager.form.pension.YrLeaseSupplyForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrLeaseForm extends GenericForm{

	private static final long serialVersionUID = 8017931413468576740L;

	private String leaseId;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderId;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date leaseEndTime;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date leaseStartTime;

	private Integer leaseStatus;

	private String leaseSuppliesId;

	private Integer leaseType;

	private Integer payWay;

	private Float pledge;

	private Float totalRent;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
	
	private String recorder;
	
	private String subjectRoomManager;
	
	private YrElderForm elderForm;
	
	private YrElderWalletForm elderWalletForm;
	
	private YrElderBeHospitalForm elderBeHospitalForm;
	
	private YrLeaseSupplyForm leaseSupplyForm;
	
	private Float totalFee;
	
	private String subjectRoomId;
	
	private Date leaseTime;
	
	private Float officialRent;
	
	private Date returnTime;
	
	private Float officialPledge;
	
	private Float returnMoney;
	
	private Float offsetMoney;
	
	public Float getReturnMoney() {
		return returnMoney;
	}

	public void setReturnMoney(Float returnMoney) {
		this.returnMoney = returnMoney;
	}

	public Float getOffsetMoney() {
		return offsetMoney;
	}

	public void setOffsetMoney(Float offsetMoney) {
		this.offsetMoney = offsetMoney;
	}

	public Float getOfficialPledge() {
		return officialPledge;
	}

	public void setOfficialPledge(Float officialPledge) {
		this.officialPledge = officialPledge;
	}

	public Date getLeaseTime() {
		return leaseTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setLeaseTime(Date leaseTime) {
		this.leaseTime = leaseTime;
	}

	public Float getOfficialRent() {
		return officialRent;
	}

	public void setOfficialRent(Float officialRent) {
		this.officialRent = officialRent;
	}

	public Date getReturnTime() {
		return returnTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public YrElderForm getElderForm() {
		return elderForm;
	}

	public void setElderForm(YrElderForm elderForm) {
		this.elderForm = elderForm;
	}

	public YrElderWalletForm getElderWalletForm() {
		return elderWalletForm;
	}

	public void setElderWalletForm(YrElderWalletForm elderWalletForm) {
		this.elderWalletForm = elderWalletForm;
	}

	public YrElderBeHospitalForm getElderBeHospitalForm() {
		return elderBeHospitalForm;
	}

	public void setElderBeHospitalForm(YrElderBeHospitalForm elderBeHospitalForm) {
		this.elderBeHospitalForm = elderBeHospitalForm;
	}

	public YrLeaseSupplyForm getLeaseSupplyForm() {
		return leaseSupplyForm;
	}

	public void setLeaseSupplyForm(YrLeaseSupplyForm leaseSupplyForm) {
		this.leaseSupplyForm = leaseSupplyForm;
	}

	public String getSubjectRoomManager() {
		return subjectRoomManager;
	}

	public void setSubjectRoomManager(String subjectRoomManager) {
		this.subjectRoomManager = subjectRoomManager;
	}

	public Float getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(Float totalFee) {
		this.totalFee = totalFee;
	}

	public String getRecorder() {
		return recorder;
	}

	public void setRecorder(String recorder) {
		this.recorder = recorder;
	}

	public String getLeaseId() {
		return leaseId;
	}

	public void setLeaseId(String leaseId) {
		this.leaseId = leaseId;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public Date getLeaseEndTime() {
		return leaseEndTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setLeaseEndTime(Date leaseEndTime) {
		this.leaseEndTime = leaseEndTime;
	}

	public Date getLeaseStartTime() {
		return leaseStartTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setLeaseStartTime(Date leaseStartTime) {
		this.leaseStartTime = leaseStartTime;
	}

	public Integer getLeaseStatus() {
		return leaseStatus;
	}

	public void setLeaseStatus(Integer leaseStatus) {
		this.leaseStatus = leaseStatus;
	}

	public String getLeaseSuppliesId() {
		return leaseSuppliesId;
	}

	public void setLeaseSuppliesId(String leaseSuppliesId) {
		this.leaseSuppliesId = leaseSuppliesId;
	}

	public Integer getLeaseType() {
		return leaseType;
	}

	public void setLeaseType(Integer leaseType) {
		this.leaseType = leaseType;
	}

	public Integer getPayWay() {
		return payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public Float getPledge() {
		return pledge;
	}

	public void setPledge(Float pledge) {
		this.pledge = pledge;
	}

	public Float getTotalRent() {
		return totalRent;
	}

	public void setTotalRent(Float totalRent) {
		this.totalRent = totalRent;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
